package chen.javaee_experiment3.Entity;

import lombok.Data;

@Data
public class VirusData {

    private String state;
    private String country;
    private int latestTotalCases;
    private int diffFromPrevDay;

    public VirusData(){

    }

    public VirusData(String state, String country, int latestTotalCases, int diffFromPrevDay) {
        this.state = state;
        this.country = country;
        this.latestTotalCases = latestTotalCases;
        this.diffFromPrevDay = diffFromPrevDay;
    }

    @Override
    public String toString() {
        return "VirusData{" +
                "state='" + state + '\'' +
                ", country='" + country + '\'' +
                ", latestTotalCases=" + latestTotalCases +
                ", diffFromPrevDay=" + diffFromPrevDay +
                '}';
    }
}
